package com.ruoyi.project.hissystem.mapper;

import com.ruoyi.project.hissystem.domain.HisDepartment;
import com.ruoyi.project.system.domain.SysPost;

import java.util.List;


public interface HisDepartmentMapper {
    //动态分页查询科室信息
    List<HisDepartment> selDepartmentList(HisDepartment hisDepartment);

    /**
     * 新增科室信息
     *
     * @param hisDepartment 科室信息
     * @return 结果
     */
    public int insertDepartment(HisDepartment hisDepartment);

    /**
     * 通过科室ID查询科室信息
     *
     * @param departId 科室ID
     * @return 角色对象信息
     */
    public HisDepartment selectDepartmentById(Long departId);
    /**
     * 修改岗位信息
     *
     * @param hisDepartment 科室信息
     * @return 结果
     */
    public int updateDepartment(HisDepartment hisDepartment);

    /**
     * 批量删除科室信息
     *
     * @param departIds 需要删除的科室ID
     * @return 结果
     */
    public int deleteDepartmentByIds(Long[] departIds);
}
